//
//  ElectricityPayController.m
//  HuLaQuan
//
//  Created by hok on 1/21/16.
//  Copyright © 2016 Jianghao. All rights reserved.
//

#import "ElectricityPayController.h"

#import "PlistChooseController.h"
#import "PayCompanyChooseController.h"

#import "ElectricInfoViewController.h"
@interface ElectricityPayController ()

@end

@implementation ElectricityPayController

//- (NSArray *)items{
//    if (!_items) {
//        _items = [[NSArray alloc] init];
//    }
//    return _items;
//}

- (void)setupChildControllerUI
{
    self.title = @"电费";
    
    self.payType = PayElec;
    
   // self.companyInfo = @{@"title":@"贵阳电力公司"};
}


- (void)rightAction
{
    
//    PlistChooseController *plist = [[PlistChooseController alloc]init];
//    [self.navigationController pushViewController:plist animated:YES];
    UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"ConvenientPay" bundle:nil];
    [self.navigationController pushViewController:[storyBoard instantiateViewControllerWithIdentifier:@"PlistChooseController"] animated:YES];
}

//- (void)tapNextButton
//{
//    UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"ConvenientPay" bundle:nil];
//    [self.navigationController pushViewController:[storyBoard instantiateViewControllerWithIdentifier:@"ElectricInfoViewController"] animated:YES];
//
//}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
